package lab02.Test14;

/**
 * Created by lenovo on 2017/10/21.
 */
public class Test14 {
    public static void main(String[] args) {
        Shape a=new Circle(5);
        Shape b=new Rectangle(7,8);
        System.out.println("长方形面积为："+b.getArea());
        System.out.println("圆的面积为："+a.getArea());
    }
}
